class_name FrameTime
const component_name := "FrameTime"
var _notify: Notify

var count: int setget _set_count
var frame_interval: int
var max_count := C.MAX_SAFE_INTEGER
var running = false


func _init(_count = 0, _frame_interval = 16):
	count = count
	frame_interval = _frame_interval


func cur_time():
	return count * frame_interval


func _set_count(val):
	count = val
